onFirst

inline fun <T1, T2, E : Either<T1, T2>> E.onFirst(crossinline block: (T1) -> Unit): E

Will call block in case when Either.t1 of this is not null